package com.lwj.model.quartz;


import java.util.List;

/**
 * created by lwj 2020/9/14 18:30
 **/
public class JobInfo {
    /**定时任务名称*/
    private String jobName;
    /**定时任务执行类*/
    private String jobClass;
    /**定时任务执行时间*/
    private String jobTime;
    /**定时任务组*/
    private String jobGroup;
    /**生成定时任务时是否执行一次*/
    private Boolean isRunning;

    /**生成定时任务方式：1：jobTime  2：jobCount+jobGap */
    /**定时任务执行次数*/
    private int jobCount;
    /**定时任务执行时间间隔*/
    private int jobGap;

    public int getJobGap() {
        return jobGap;
    }

    public void setJobGap(int jobGap) {
        this.jobGap = jobGap;
    }


    public int getJobCount() {
        return jobCount;
    }

    public void setJobCount(int jobCount) {
        this.jobCount = jobCount;
    }

    private List<NameValuePair> params;

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobClass() {
        return jobClass;
    }

    public void setJobClass(String jobClass) {
        this.jobClass = jobClass;
    }

    public String getJobTime() {
        return jobTime;
    }

    public void setJobTime(String jobTime) {
        this.jobTime = jobTime;
    }

    public List<NameValuePair> getParams() {
        return params;
    }

    public void setParams(List<NameValuePair> params) {
        this.params = params;
    }

    public Boolean getRunning() {
        return isRunning;
    }

    public void setRunning(Boolean running) {
        isRunning = running;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }
}
